App({
    data: {
        load_status: 0,
        data_list_loding_status: 1,
        data_bottom_line_status: false,
        data_list: [],
        banner_list: [],
        navigation: [],
        common_shop_notice: null,
        common_app_is_enable_search: 1,
        common_app_is_enable_answer: 1,
        common_app_is_header_nav_fixed: 0,
        common_app_is_online_service: 0,

        // 限时秒杀插件
        common_app_is_limitedtimediscount : 0,
        plugins_limitedtimediscount_data: null,
        plugins_limitedtimediscount_timer_title: '距离结束',
        plugins_limitedtimediscount_is_show_time: true,
    },
  onLaunch: function () {
        let task = tt.request({
            //url: 'https://douyinshop.163ar.cn/api/index',
            url: 'http://shopxo.sn/api/index',
        data: {},
        header: {
            'content-type': 'application/json'
        },
        success (res) {
            console.log(`request调用成功 ${res}`);
            //  处理接收到的数据
            tt.stopPullDownRefresh();
            
            

        },
        fail (res) {
            console.log(`request调用失败`);
        }
    });

  }
})